<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<%@ page import="java.io.InputStream" %>
<%@ page import="java.io.IOException" %>
<%@ page import="java.util.Properties" %>
<%@ page import="cn.ffcs.security.model.User" %>
<%@ page import="cn.ffcs.security.web.UserContext" %>
<%
 User user=((UserContext)session.getAttribute("LOGINUSER_CONTEXT")).getCurrUser();
 Properties prop = new Properties(); 
 InputStream in = null; 
 String url="";
 try { 
     in=this.getClass().getResourceAsStream("/sp-server.properties");
     prop.load(in); 
     url=prop.getProperty("contract.server.url");
 } catch (IOException e) { 
     e.printStackTrace(); 
 } finally{
     if (in != null) {
         try {
             in.close();
         } catch (Exception e) {
         }
     }
 }

 
 //http ://134.128.194.48/project/checkuser.jsp?userID=FJYANGSB&userID_s=(7018AE61F8D96971BA210C575547D588)&redirectUrl=contract/contractLoadAction.do?
//act=create&frameFlag=1&companyFlag=1&currDept=
 %>
 

 
<html>
	<head>
		<title>Untitled Document</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<link rel="stylesheet" href="<s:url value="/css/style_new.css"/>">

		<style type="text/css">
<!--
.STYLE1 {
	color: #ff0000
}
-->
</style>
<script>
function initLoad(){
	f_iframeResize();
}

    var url="<%=url%>?userID=${actContract.userId}&userID_s=${actContract.userMk}&redirectUrl=contract/contractLoadAction.do?act=${actContract.act}&frameFlag=${actContract.frameFlag}&companyFlag=${actContract.companyFlag}&currDept=${actContract.currDept}";
    //var url="<%=url%>?userID=FJYANGSB&userID_s=(7018AE61F8D96971BA210C575547D588)&redirectUrl=contract/contractLoadAction.do?act=${actContract.act}&frameFlag=${actContract.frameFlag}&companyFlag=${actContract.companyFlag}&currDept=";
    
    //prompt("123",url);
    //window.showModalDialog(url,window,"status:no;dialogWidth:1010px;dialogHeight:810px;scroll:no;");
    window.open(url,null,"height=700,width=1020,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes");
		window.location.href="listContractInfo.action";
</script>
	</head>
	<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" >
	</body>
</html>
